Document::MakeFileDialog

Section: ET++ method description (n)
Updated: automatically Fri Mar 15 14:13:05 1991
Index Return to Main Contents
 

NAME

Document::MakeFileDialog - instance method  

TEMPLATE

newFileDialog = FileDialog * MakeFileDialog(FileDialogType fileDialogType)  

SPECIFIERS

public virtual  

DESCRIPTION

MakeFileDialog is called by the method Open, the method SaveAs and the method Import with the corresponding file dialog type. MakeFileDialog must create an appropriate file dialog.
The default implementation gets a new file dialog from the application (see method Application::MakeFileDialog) whereby the fileDialogType is ignored.
MakeFileDialog is called only once for each type, so all documents within an application share the same file dialogs.
MakeFileDialog is the place where to create own file dialogs to allow user-defined save options (see method DoWrite). Method is rarely overridden. Method rarely calls base method.  

ARGUMENTS

FileDialogType fileDialogType

the type of the file dialog to create. It is either eFDTypeRead
, eFDTypeWrite or eFDTypeImport.
 

RETURN ARGUMENT

FileDialog * newFileDialog

a new file dialog suitable for read, write or import according to the fileDialogType
 

CATEGORIES

windows, overrider interface

 

FIRST DEFINITION

class Document  

FILES

implementation:
Document.C


 

Index

NAME
TEMPLATE
SPECIFIERS
DESCRIPTION
ARGUMENTS
RETURN ARGUMENT
CATEGORIES
FIRST DEFINITION
FILES

This document was created by man2html, using the manual pages.
Time: 00:40:28 GMT, March 30, 2022